<?php

namespace App\Http\Controllers\Frontend\User;

use App\Http\Controllers\Frontend\FrontendController;
use App\Http\Resources\Frontend\UserResource;
use Illuminate\Http\Request;

class ProfileController extends FrontendController
{
    function index(Request $request) {
        return new UserResource($request->user());
    }
}
